//package com.wz.jiangsu.model.strategy.context;
//
//import com.wz.jiangsu.model.strategy.Strategy;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.Resource;
//
///**
// * @program: wz
// * @author: wangzhou
// * @create: 2023-12-26 20:27
// * @description:
// **/
//@Component
//public class StrategyContext {
//    @Resource(name = "addStrategy")
//    private Strategy strategy;
////
//    public StrategyContext(Strategy strategy) {
//        this.strategy = strategy;
//    }
//
//
//    public int dothings(int a, int b) {
//        return strategy.calculate(a, b);
//    }
//
//}
